Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Add the remote and local lsn to the subscription status#8

Merged
Fryguy merged 1 commit intoManageIQ:masterfrom
carbonin:add_replication_origin_info_to_subscription_status
Feb 27, 2017
Merged

Add the remote and local lsn to the subscription status#8
Fryguy merged 1 commit intoManageIQ:masterfrom
carbonin:add_replication_origin_info_to_subscription_status

Conversation

@carbonin
Copy link
Member

These values can be used to determine replication lag and are directly related to the subscription by the slot name.

A user can use this value to determine the replication lag by using pg_xlog_location_diff with the provider node's pg_current_xlog_insert_location.

# slot_name
# replication_sets
# forward_origins
# remote_replication_lsn
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add definition of LSN (log sequence number)

These values can be used to determine replication lag and are
directly related to the subscription by the slot name.

A user can use this value to determine the replication lag
by using pg_xlog_location_diff with the provider node's
pg_current_xlog_insert_location.
@carbonin carbonin force-pushed the add_replication_origin_info_to_subscription_status branch from 3981f1e to fbec407 Compare February 22, 2017 21:13
@miq-bot
Copy link
Member

miq-bot commented Feb 22, 2017

Checked commit carbonin@fbec407 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 1 offense detected

**

  • 💣 💥 🔥 🚒 - Linter/Rubocop - missing config files

carbonin added a commit to carbonin/manageiq that referenced this pull request Feb 22, 2017
This will show the replication backlog in bytes for the particular
subscription.

This uses the functionality added to the pg-pglogical gem in
ManageIQ/pg-pglogical#8
@Fryguy Fryguy merged commit ff56fba into ManageIQ:master Feb 27, 2017
@carbonin carbonin mentioned this pull request Feb 27, 2017
@carbonin carbonin deleted the add_replication_origin_info_to_subscription_status branch March 2, 2017 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants